equal

open fun equal(left: Int, right: Int)
open fun equal(left: Long, right: Long)
open fun equal(left: String, right: String)

test if a string lengths is inside the range min … max

Parameters

left

value to test

right

value to test

Throws

when value is outside min … max


open fun equal(left: Int, right: Int, name: String)
open fun equal(left: Long, right: Long, name: String)
open fun equal(left: String, right: String, name: String)

test if a string lengths is inside the range min … max

Parameters

left

value to test

right

value to test

name

value name for better error message

Throws

when value is outside min … max


open fun equal(left: Enum<out Any>, right: Enum<out Any>, name: String)

test if two enums are the same.

Parameters

left

value to test

right

value to test

name

value name for better error message

Throws

when value is outside min … max